﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PSE.Framework.Communication.Adapters.Stm
{
    public class StmException : Exception
    {
        public StmException(int errorNumber, string errorMessage, string errorDescription)
            : base(errorMessage)
        {
            _erroNumber = errorNumber;
            _errorDescription = errorDescription;
        }

        private int _erroNumber;
        public int ErroNumber
        {
            get { return _erroNumber; }
            internal set { _erroNumber = value; }
        }

        private string _errorDescription;
        public string ErrorDescription
        {
            get { return _errorDescription; }
            internal set { _errorDescription = value; }
        }
    }
}
